#include "U2EAGLRenderTexture.h"

#include "U2LogManager.h"


U2EG_NAMESPACE_USING


EAGLPBuffer::EAGLPBuffer(EAGLSupport* glsupport, PixelComponentType format,
                       size_t width, size_t height)
    : U2GLESPBuffer(format, width, height)
{
    initEAGLPBuffer();
}

// Changed the constructor to a member function so that the
// native constructor would be called first. This member
// function is then called from the native constructor.
void EAGLPBuffer::initEAGLPBuffer()
{
    U2LogManager::getSingleton().logMessage(LML_NORMAL, "EAGLPBuffer::initEAGLPBuffer unimplemented");
}

EAGLPBuffer::~EAGLPBuffer()
{
    U2LogManager::getSingleton().logMessage(LML_NORMAL, "EAGLPBuffer::PBuffer destroyed");
}

